got tags to be in JSON, now need to send to the server