add to_yaml, to_json, to_ruby, to_legacy_ruby convenience methods