modify display string of relationship resource and code formattings RESTWS-281

I will merge this now, and you can do that in a followup at some point.