start rewrite of paths
rewrite parsing paths a bit more
tidy up json path parser
tidy up json path parser
tidy up json path parser