import json


def save_response(response):
    """Convenience to save the json response to file."""
    with open('response.json', 'w') as outfile:
        json.dump(response, outfile)
    return True