Wow! that works, thanks Transistor, no way I can find this by myself.
pie_chart_nivel_data = [{"count": v, "flavor": "x" + str(k)} for k, v in nivel_data.items()]
only works with the x
now I should find the way to take the x off
the flavor thing is because it was the original structure on pie charts, didn´t change it...maybe I should.