Map2struct support for Matrices and Strings