Use json.dumps to pretty print dicts