Add support for meta data and new graph format
Reenable several optimizations/remove double level check
Merge branch 'standard-format'