Fix for marshalling magento modules