relax element type for stream-writer