add serialization for None in mock xml generator

this should fix: http://manage.dimagi.com/default.asp?109091

something in the user-case sync was being set to none and then crashing on this line