fix Map casting in Assert.same

Fix incorrect casting to Map. Btw, maybe you can use this

https://github.com/fponticelli/thx.core/blob/master/src/thx/core/Dynamics.hx#L10