A W3C Community Group has been formed to develop proposed specifications for 4.0 versions of XSLT, XPath, and XQuery. One the aims is provide improved capabilities processing JSON, associated constructs in data model such as maps arrays. development threads conversion between XML, other formats HTML CSV. This paper looks at one particular aspect proposals, a new function XML-to-JSON conversion.