Added json formatting and cache settings.