Fixed JSON reader module and added unit tests for all readers.