MN.create, MN.update and CN.create metadata objects without altering content
MN.create, MN.update and CN.create changed the InputStream object to String base on the encoding declared in xml prolog. However, if the encoding declaration is wrong, the content will be modified. The code was changed to save the input stream object directly.
Please see https://redmine.dataone.org/issues/6568