Minimal.  Working. Far from "right" or complete.
Still trying to parse the "expand" array.