Serializing in ceci-app instead of designer

This is a slight modification of Pomax's  ( 5eeb9b03396e70530b040a8b91acfb9de50b868e ) as it's on the app instance which knows about `container`