Swithed over to generating json nodes instead of strings to make nesting work better.
Added file lookup and flatten ops.  Also docs and tests for same.
Slightly relax test bounds