Fixed issue where object element could exist either as 'raw' or ['raw', '_content'] causing bad array_key_exists call.