further down the conversion from lists to treemaps. However, spring data jpa's save method doesn't handle anything but lists.