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