Data json serialization for XHR conn POST