Use yaml mapping for entity metadata