Normalize context for external resources