reformat svg elements for readability