Added beginnings of JSON api calls to domoticz to get user vars and switches