Implement dump command