remove json on detail pages