Json serialization functions
Load and save and callback ok for config file