move redditpost json parser logic into reddit post