Adressing issue #4: Fixed the problem with a M2M transformation in the generator, removing quotes with a regex. Probably should be done in the grammar instead, I dont know.
New template used, which is more user friendly and the latex code is cleaner. Still need to implement matrix questions and conditions, but the rest should work.