Don't set `content` property on rest controller in execute

## Don't set `content` property on rest controller in execute

Instead add a `getContentAsArray` method that accepts the request object and returns the json decoded content.

This will make it possible to test the rest methods directly instead of going through execute().

### Acceptance Criteria
1. None

### Tasks
- None

### Additional Notes
- None