Simplify code slightly.
Simplify code slightly.


Former-commit-id: 6e32ba513b0bad177778158f1128414a4af8deed
EmilStenstrom/json-tagger,EmilStenstrom/json-tagger,EmilStenstrom/json-tagger,EmilStenstrom/json-tagger,EmilStenstrom/json-tagger