Updated the serializer to handle texcoords.