I need to include the top level node in my JSON response in order for the already deployed mobile app to work. My models are Language and Posts where Posts belongs\_to Language. The response the app needs is this:

```
{
  "english": {
  "posts": [
  {
    "title": "title",
    "content": "content"
  },

```

My Language controller code looks like this:

```
@posts = @language.posts
render :json => { :posts => @posts.as_json

```

Just need to get the Language in the JSON one level above it. Isn't there a config in environment or deploy.rb that takes care of this?

Thanks