Add data dumper

ability to dump state at specific block for debugging of consensus and other utils