Improve entity json export (closes #2559931)
Make output from __json_encode__ predictable; use it in the ejsonexport
view.
#! /bin/sh -e#if [ "$1" = configure ]; then if which install-docs >/dev/null 2>&1; then install-docs -i /usr/share/doc-base/cubicweb-doc fifi#DEBHELPER#exit 0