adds selfreference link to output
adds version descrition to api