make read file be json