Item12952: bring back generator method

renamed parser() to json() in both Response and Request