More improvements to parsing of rdb files, deparsing, and error handling