added array escaping + escaped value caching
Merge remote-tracking branch 'origin/master'