When catching JSON parse exceptions, don't print anything to stdout (let the user decide whether they want to do that or not).  Instead, throw an exception with a message that contains the same information.
Added a test for parseJSONResponse parsing integer values correctly.