Seriale HTML form to JSON object