Removing keys and dumping versionnr