allow for different JSON encoders, to support SockJS
upgrade to xtend 2.6.0