Update save html method to new scheme
Cleanup by introducion ModelResultV type alias
Cleanup: formatting and minor refactoring.