to_toml method should support boolean value