def format_response(response_collection):
    """Re-format responses to a dict"""
    return {
        "code": response_collection[0]['code'],
        "message": "%s created" % response_collection[0]['resource'],
        "status": response_collection[0]['status'],
        "payload": response_collection
    }