add int type to state, bus reads key/value pairs from json map directly