updated GeoDataRegistry to support both index.json or directory mode
fixing schema creation issue with empty table