# Apps can request the full nutriments hash
# or specific nutrients:
# - saturated-fat_prepared_100g : return field at top level
# - nutrients|nutriments.sugars_serving : return field in nutrients / nutriments hash
elsif ($field =~ /^((nutrients|nutriments)\.)?((.*)_(100g|serving))$/) {
In API.pm, customize_response_for_product
So those works: