fix create_gid_key not stored correctly in record rspec, add genidump tool