extensive changes to domoticz subscriber, jsonified the input message parsing and added error handling for parsing