Path to json modified

+ refactoring