Sometimes writing stuff down helps with thinking.
The error message is confusing, but I had forgotten to update the vlistfile after making changes to the variable definitions in Mervis.
It now works with integers. Seems to still have problems with strings though, is this a limitation?