More work on json lib, ch5