Changed "metadatas" to "metadata" in twig_helpers