make all json parsed into data objects and remove unused imports