make sure nullable is always defined for xml and yml mapping too