Add event-emitter to smart.json