def METHOD_NAME(value):
    """
    parse string values as json, return string if that fails
    """
    if isinstance(value, string_types):
        try:
            return json.loads(value)
        except ValueError:
            pass
    return value