allow pjson(array()) to make some json tasks more concise