Using JSON module to jsonize rather than to_json from activesupport