Fixed situation when xmlClass property was not serialized.

Change-Id: I8a226441bc1370bcf3e7e87b15caec1f17c06e5f
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>