add support for inline entity references