fix for `Reader::ParseString()` implementation plus some minor code cleanups and additions