Changed |tojson filter to quote single attributes