Remove whitespaces in JSON object