updated serialization of UiInfo object