def METHOD_NAME(self, obj):
    tree = parse(obj)
    if tree is not None:
        decoder = NativeFormatDecoder(tree)
        return {
            "identifier": decoder.identifier,
            "begin_time": decoder.begin_time,
            "end_time": decoder.end_time,
            "footprint": MultiPolygon(*decoder.polygons),
            "format": "native"
        }
    raise Exception("Could not parse from obj '%s'." % repr(obj))