storage: Strip null characters from metadata documents
They cause postgresql to crash because it does not allow them in text fields.
They are seemingly only present accidentally in source documents;
so stripping them does not really impact the quality of metadata.