AbstractRestController::getContentAsArray returns null if JSON is null

## Description

AbstractRestController::getContentAsArray returns null if JSON is null. It should return an empty array.