def METHOD_NAME(self):
    search = json.loads(self.search)
    if "after" in search:
        search["after"] = parse_iso8601(search["after"])
    if "before" in search:
        search["before"] = parse_iso8601(search["before"])
    return search