Support for curies in resource and json representation