add json and xml endpoints to posts#show
updating