Add namespace serialization in MappinggGenerator