save session model to YAML format
This work has been started a while ago using JSON format. The fact that nsxtool is now relying on YAML for databases and instruments storage/serialization make that we should switch to this format to going on with that work.