Json decoder parser to be used by service_client

def json_decoder(content, *args, **kwargs):
    """
    Json decoder parser to be used by service_client
    """
    if not content:
        return None
    json_value = content.decode()
    return json.loads(json_value)