fix nx.RestCollection.retrieve