Moving jsonreader to its own submodule