prints to file instead of stdout
added another field
Prints out valid python dictionary