Externalize the module string transformations into modules and not in decode