handle json candidates and responses as plain text to allow regexp matching everywhere