Implement flatten
Redo JST compilation
Fix JST test suite
Add JST tests
Reflect new JSTs in README