read path from json config