CS-4544: Upgrade from 3.5 fails to populate webcodes

Refactor webcode populate script not to use article entity.