better enum support from both json and idl; improved setters/getters; the alarms api - generated from idl - and used by the demo app is now fully functional