fixed JSON structure
added JSON decoder and data importer