Use templates for all views
Explicitly manage bbox of state views
Add Object.keys fallback