We kept the Emperor to keep Japan from falling under Soviet influence. We learned our lessons from Versailles.
One interesting fact to look up would be how many allied occupation troops were needed in Japan compared to Germany. In both cases we had to contain the Russians.