add to_dict methods to more models
Merge branch 'master' of github.com:jinpan/Unitas