Fix bug for JSON loader
Optimization of JSON load and save according to path new definition