xdi/json support for literal references