Serialize naming

Similar to #17, this lets you specify the strategy used to name properties when serializing an object into YAML.