Adding support for JSON importing.  #270
Imported from https://github.com/krues8dr/statedecoded/tree/dccode