add support to send raw array as rest body