modifying import to support new json structure