* [templates]: preserve "context" and "renderer" keys