json config file refactoring to JMap