trying to get an escaped version of the posts content for json