The export now supports both json formats

supports SPA from Dr. Sampson's old tool, and it supports PCN spen (the
data model that matt swenson developed)