Fixed OpenVZ template editing (TUI-39)
Added a workaround for cases when vm_parameters to vm_deploy are parsed as a string instead of a dict (OMS-210)