parsing JSON to find correct html for event