Prettifying log config parsing with dynamic object.
Do not crash when unsupported log level received.
Fix rapidjson strange behavior.

When building json tree for writing, rapidjson do not copy by default raw strings. This strange behavior leads to the memory corruption when substituted strings do not live longer than Writer class, for example, when iterating over some collection. Fixed with explicit copy raw strings into rapidjson::GenericValue.