Making the json export work again, which has broken everything beyond that block.