Seems ConfigAPI was already implemented with ini style files. This should be flexible enough, no need to port to JSON. Added some comment annotations for the cpp to be easier to read.