I'm not entirely sure I like the switch from #to_json to #as_json. I don't like assuming we're in a active support environment.