Well, the update should work with strings (it will just assume default factorio behavior for those recipes without crashing), so you can try it out. Overall though I kind of come from a c++ background where there is a bit less of a chance of someone setting a string value to an integer variable. Never realized that such a thing was possible in lua. I mean - I knew you can set variables to whatever you felt like, but I thought factorio documentation could be trusted :)
I'll mark this down as solved then.