added importing json object to class