converting API beans to return proper responses (#3712)
Merge branch 'master' of github.com:IQSS/dataverse