Text preview is good for XML and JSON

Try to **get this into 2.1**!