Remove comma at the of the hash