Added support for map construction from key/value arrays