read json to load source names, and other modifications