Make refseqmap serializable