patcher model and loader:  clean up minor issues, to/from json
more examples using the API to read/write data, and run queries on it to get NMR results