Reading file works and YAML dump works as expected