Added json api for recent posts