Serializer and comparator for using Thrift objects in Cascading or Cascalog