Serialize derivation results to Json.