using new redbean-adaptive return of beans on REST Plugin call
some more work on the example