Array/Hash fields should fail somehow when assigned the wrong type.

[ fix #2442 ]