class NameOfPerson::PersonName

def encode_with(coder)

Override to_yaml to serialize as a plain string.
def encode_with(coder)
  coder.represent_scalar nil, to_s
end