Update: serialize map to array