sparse fieldsets

http://jsonapi.org/format/#fetching-sparse-fieldsets
I would agree If it just returned the attribute names but it calls send for each attribute.  It would be terribly inefficient to call the method just to filter it out later.