read directly from json, not from a param