Changing configuration file to YAML format