Fix for Bug NMS-5694

Adding double quotes for categories hash to avoid JavaScript problems.