Added block mode to yamlizer