Is there an way to import json and have it automatically translate to blocks?

JSON is for data, not code.
Good developers keep their data and code separate.

That said, here's a bunch of Javascript and JSON resources: