loadJSON() moved to fs: adjust function calls