PyYAML uses YAML 1.1, which interprets on/off as boolean value.
In good command sample set_properties_firewall_status.yaml it is necessary to use tics for firewall_status value.
