IMO key should be `null` and you should reset to null as well. Then when we do `vars.put(..` throw an exception if we see key to be null. I also think we should just to `vars.put(key, parser.text());` there