added a bodyArray function to return body as array