config: Moved to usage of dynamic_t

Instead of direct usage of rapidjson::Value