started implementing JSON import