fix(toJson): minification error

due to missing matching open parens