Added escaping for parameters
Added avs result parsing