init: only imoprt jsonschema if needed
init: only imoprt jsonschema if needed

- It turns out that jsonschema is one of the more expensive imports.

- move imports of jsonschema into functions to avoid the performance hits
  for calls that don't need config.

LLNL/spack,iulian787/spack,mfherbst/spack,matthiasdiener/spack,tmerrick1/spack,iulian787/spack,matthiasdiener/spack,krafczyk/spack,LLNL/spack,iulian787/spack,mfherbst/spack,krafczyk/spack,matthiasdiener/spack,tmerrick1/spack,tmerrick1/spack,iulian787/spack,mfherbst/spack,krafczyk/spack,LLNL/spack,LLNL/spack,matthiasdiener/spack,iulian787/spack,mfherbst/spack,tmerrick1/spack,matthiasdiener/spack,krafczyk/spack,LLNL/spack,tmerrick1/spack,mfherbst/spack,krafczyk/spack