Fix cache by converting from xml to json