Additional fixes around exception handling
replace json library, integration test with thingspeak