some more json utils, make licensing more clear