def get_serialize_format(self, mimetype):
format = self.formats.get(mimetype, None)<EOL>if format is None:<EOL><INDENT>format = formats.get(mimetype, None)<EOL><DEDENT>return format<EOL>
Get the serialization format for the given mimetype