send data as json, support for custom fields data as arrays (#6)