# Functions
ArrToMap takes an environment array of the form
["KEY1=val1", "KEY2=val2"]
and returns a corresponding map of the form
{ "KEY1": "val1", "KEY2": "val2" }.
MapToArr takes an map of the form
{ "KEY1": "val1", "KEY2": "val2" }
and returns a corresponding array of the form
["KEY1=val1", "KEY2=val2"].
ToMap is a convenience function wrapping ArrToMap.