Having only one list item in the root that is not last creates invalid html