- wrapped in json_ensure_response()
- catered for array dereferencing for PHP <= 5.3