Ensure genFactory.namespaces is always ints

Change-Id: Ibcf673119f755cd7003045c269a2c382cd5b92c7
Merge "Ensure genFactory.namespaces is always ints"