DataMapping support for enums and BaseObject direct parsing