AS7-5651 Add annotation support to global-modules

I am not sure if this also needs an operation transformer of if the resource transformer is enough,