Serialization of objects to JSON works for current classes: wave, sensor and actuator