extracted LoadJSON to its own package.