handle json from slack