def deserialize_args(args):
    'Try to deserialize given args. Return input if not serialized'
    deserialized = parse_qs(args)
    if (deserialized == {}):
        return args
    else:
        return deserialized
Try to deserialize given args. Return input if not serialized
def deserialize_args(args):
    
    deserialized = parse_qs(args)
    if (deserialized == {}):
        return args
    else:
        return deserialized