Prefer Uri to string for Extension Keys

Per spec.