Returns post.id instead of search.id for json format.