Correct dict format for query params

convert ImmutableMultiDict data returned by Flask requests to regular python dicts