first attempt at reading json