Alex innovation json

Alex's JSON features, from innovation week; plus my tests for (some of) them.