Create projection of fields needed to fetch from db from Graphql query. Supports nested queries & custom field names.