As json to utility

Merge only after https://github.com/OpenTreeOfLife/peyotl/pull/70 
At that point this will be 2 simple commits: one moved some code to utility where it belonged (and verified that this did not break anything). The second tweaked the peyotl code so it would import from the new location.