serialize instances in get_many