Added type to analysis result JSON