NEXUS-5472: Smaller improvements

That are:
* added header to Nexus written prefix files
* cleanup of REST resource, removed all "dummy" messages
* DTOs changed to be able to really reflect states