Add error handler, better error handling in JSON parse, use UUID for MQTT Client Id