def json_api_headers(token):
    """Return standard headers for talking to the metadata service"""
    return {
        "Authorization": "Bearer {}".format(token),
        "Accept": "application/vnd.api+json",
        "Content-Type": "application/vnd.api+json"
    }