Change the JSONobject return type for OnOffActuator specification
and implementation.