Erm... Westerners were present in China way before they even came to Japan - you seem to forget Japan has an isolationism policy for several hundred years that explicitly restricted foreign influence until the late 1800s.
If anything, China was way more exposed to any Western culture before the ships of Perry even sailed to Japan. British occupation of HK was from 1841.
And let's not forget Singapore, with Raffles as early as the early 1800s.
But yeah, "everything went through Japan" ?
This is demonstrably false. Chinese communism especially, was not just influenced but guided Russia and the Comintern. Mao certainly didn't get his ideas from Japan, and the contrasting liberal and fascist influences largely came from the West by means of Shanghai rather than Japan.
Similarly with Korea. Japan may have forced Korea to open up and dominated for nearly half a century, but Korean communism came from Russia.
You could argue that Leninism and Stalinism are more directly responsible for North Korean Communism today than Marxism was, and you wouldn't be wrong in my opinion, but the concepts of socialism, fascism, democracy, etc. first came to Korea and China by way of Japanese scholarship.