test reading json