This needs backport to all versions of bitcoin/altcoins after merge.
A dump may look like:
VERSION=3
format=bytevalue
database=main
type=btree
db_pagesize=4096
HEADER=END
<{Data}>
DATA=END
So the current parser gives us odd data like:
keyHex="DATA=END";
valueHex="";
(sometimes the other way round)