basics of importing from json file and processing to Connection