[PATCH] kunit: tool: internal refactor of parser input handling