dont put the root in the json for rails4
allow to work with attr_accessible
Merge branch 'master' into rails4