generate PostsController#show's json with jbuilder and move Metric.tick calls into the format.html blocks to prevent false ticks