write a python script to run this query and output the results as a list of Dictionaries