playing with exposing json api of posts