Add type info to JSON.parse result
Add bare custom-externs.js to all templates and update their validation scripts