Typo that is valid JSON but not according to Ruby