def request_to_dict(request):
    """
    Transform request into usable metadata
    """
    dump = {}
    dump['X-Founder-Ip'] = request.remote_addr
    for k,v in request.headers.to_list():
        dump[k] = v
    return dump