gofmt
stricter contract on app_model
implement Diff for Entry, only write changed