cant figure out how to get xml writer to always return embedded on empty array