update to LS serializer
add header and footer