First try at implementing the new JSONMixin API, and re-enabling other
unaffected tests