return json object

post.json -> posts.json
small modify