Progress on saving a model

Can:
* iterate through tree, getting components
* stringify model JSON