import data using json serialization