First versions of XML and JSON documents. It's not fully done yet. Interfaces needs to be extracted and object implementation instead of just buffering can be done. And also JSON needs some more API.