There seems to be an inconsistency in the formula. Somewhere it is written as MOX and in some places, it is written as MXO. This is what Google gives when you search sodium hypochlorite:
I think the formula of alkali hypohalite should be MOX because since the negative charge bears over the oxygen atom, it accepts the electron coming from the alkali metal ion and forms a duplet thus forming ionic bond.
Is my assumption correct? What is the correct formula of alkali hypohalite?