switches to json strategy