Internal Server Error when REST backend does not return a JSON Object
Currently if a REST backend called by Auth::REST, 2F::REST, UserDB::REST (etc.) returns a string , the portal will show an error 500
All current calls to restCall
expect it to return an object, we should make sure that's the case in restCall
itself