pub fn to_ordered_array(map: &BTreeMap<String, String>) -> Vec<String>
Converts a map to an ordered array of key=value pairs