return object - when body is array

Signed-off-by: Eduardo Stuart <contato@eduardostuart.com.br>