A simple wrapper around PyYAML to automatically serialize objects which are uniquely specified by their constructor arguments