#1091, #1095 Fixed saving of server control widget; fixed serialization of array objects