issue #66: add serializeArray input from the main form, add chunked upload in 500k chunks