Quoting doesn't transfer lists correctly

I am playing with this, it is surprisingly fiddly cause there are so many edge cases