Fix indent and encoding