Custom validation, to_riak() and from_riak() for FieldWithSubtype's subfields