added namespace dict to render
impl render with expanded context-namespace