json for pdf uncertainty plotting