Make the JSON response body accessible

This allows the body to be reset to any prepopulated array which
simplifies the process for the end consumer.