Added varkeyword regex, fixed output format