Adding __getitem__ to Entity so it can be used on Jinja2 templates.