implement maps literal constructor