This does not seem very user friendly. Need to explore other options like custom-parser, boost::property_tree ...