Comments edit.
Misspellings
Added method setTestJsonData() for unit tests.
Method readJsonData now reads data only if header with content-type = application/json