Update to Rails 4.1
Fix json error