You are correct in your intuition. The US used Japan as a forward operating post for both the Korean and Vietnam Wars, and built up their infrastructure to support this. Quite callously, they also exerted pressure on both Korea and Taiwan (former Japanese colonies) to modernize themselves with goods and technology manufactured in Japan.