...G...PS. [ZBX-8172] removed unnecessary \" escaping and reordered case statements to match earlier code