Made sparkle sign output a JSON document.