Fix ridiculously epic bug in the json loading