use correct title method for returning issue title via json (fixes issue #1960)