fixed up prettyJason but in the end switched to use YAML to store intermediate structure since it reads prettier