complete directory structure merge from tesseract, fix the deserializer for empty tables