Potassium not only form peroxide KO2, with ozone it form ozonide KO3
Drawing of crystal structure attached.
Both O-O bonds show the same length, and only two utmost oxygen atoms show short contacts to potassium cations, so they should be charged (0.5 electrons).
AWK