Understanding the GraphQL-to-REST relationship