Migrate to restx.io v0.31
Improve persistence support
Improve persistence support