improved request body extraction for checkboxes