First suggestion for API between web server and rendering engine