Python: Convert a list of python dictionaries to an array of JSON objects,json.dumps([dict(mpn=pn) for pn in lst])