Oxidation of cyclic amino compound with RuO4