Twig extension for extraction of common hydra item properties