Refactored ManifestLoader to compose JSON/JSONP loaders.