JSON

improved JSON mechanics
- combining arrays recursively (when loading templates)
- allowing imports in imported files
- support for bool and null in JSON
- better error messages for JSON