use JSON at runtime