save structure to URL