apiGenerator: fix module naming