Generate files in _generated, get rid of _json

(cherry picked from commit 19512837e637223ee6d00b4477ec7c357a211c7f)
Delay reading of syntax map until we have it.

(cherry picked from commit ebbd7a2c4f3597fc22b5bcfc09737001f35323e8)