Refactoring load JSON guide to make it easier to support new formats.