Changed indents to tabs, made slight change to json dump.