lib: Replace boost::property_tree with json-parser.