fix serializer for empty todo lists