remove JSON parse/stringify copy in core/controller.js