Fix JSON to make it loadable.