fix(toJson): minification error

missing matching close parens