JOINDIN-519 - JSONView and JSONPView outputting non-arrays

Fixed JsonView and JsonPView parsing non-array response from Controller