Remove comments that make json invalid.