json prettyprint
changed the prettyprint to capture erroneous parts
highlight errors when editing the json directly
fixed parsing of edges