LUN-2008: improve performance for snippet vars save
Merge pull request #49 from pbs/LUN-2008

LUN-2008: improve performance for snippet vars save