more adjustments and debugging to determine why serializeArray does not
work right now