Switch to a new json structure.