Making name property in package json legal by removing spaces.