Slightly better examples testing

Build the Swift examples from the release package now that we don't require building from source for Swift, run the JSONImport example during release packaging and in `verify` (since it's the only non-GUI example), and fix a bug that made the JSONImport example not actually work.