ActiveRecord serializer for Thrift