Restapi: Edit return values

Resolve https://github.com/EUDAT-B2SHARE/b2share/issues/513