for future consideration: this is a good example of where we might want to provide an enumeration for the type value (see the various serializer beans defined in the config - including the default "CRLF")