Deleting spaces in JSONData class