I think this line can just be omitted.  If you are using rails it's already required json.