Updated nytimesquery.py to output metadata in correct JSON format