Read json file chuncked, and from stdin