import json


def build_search_body(event):
    """Extract owners and filters from event."""
    owners = json.loads(event["Owners"])
    filters = json.loads(event["Filters"])

    return {"Owners": owners, "Filters": filters}