removing json on detail pages