Strip empty space from metadata. SD-437 and SD-438.