Fix the pizza to dict function