Handle any ArraySerializableInterface object returned by REST method

## Handle any ArraySerializableInterface object returned by REST method

This will make it more straightforward to write tests for rest controllers, since return values can be compared by reference instead of comparing the result of getArrayCopy.

### Tasks
- Edit AbstractRestController::execute() to handle a returned ArraySerializableInterface.

### Additional Notes
- None