Removes whitespaces for schemas which causes issue with listing and removing indexes