def args_to_dict(args):
return args.to_dict(flat=True)<EOL>
Converts request arguments to a simple dictionary. Uses only the first
    value.

    :param args: flask's request args object
    :type args: request.args
    :return: a simple dict from args
    :rtype: dict