rename method $.dispatch() => $.write-obj()