Fixed string serialization with leading spaces
Message content trimming