remove some spaces in json