Add optional field selection for connections and shared_connections