More work on strean marshaller and unmarshaller. Stream marshaller needs more work to correctly handle objects and especially arrays.