min-metadata-service: consistently use spaces and remove trailing whitespace