Add support for module values as strings that should behave the same way
as just setting the directory option