Fix the sending of node data to the server

Give "contact" field an ID
Use JSON object instead of query string to send POST data