transform package imports