Allow dumping and reading different formats