Rename variables to avoid using reserved word type
The macroserver file is using type as variable name. "type" is a reserved python word, so it's overriding it.
I renamed it to avoid using the reserved word. It also helps readability, for example isinstance(paramType, list) is easier to understand than isinstance(type, list) if you know type is the reserved word.