def repeat_read_json_url_request(url, headers=None, data=None, retries=2, logger=None):
    '''
    Allows for repeated http requests up to retries additional times with convienence
    wrapper on jsonization of response
    '''
    if logger:
        logger.debug("Retrieving url json content: {}".format(url))
    req = urllib2.Request(url, data=data, headers=headers or {})
    return repeat_call(lambda: json.loads(urllib2.urlopen(req).read()), retries)
Allows for repeated http requests up to retries additional times with convienence
    wrapper on jsonization of response