Getting Custom field values via API using chaining
I don't think you need to chain the calls, you simply need to specify the fields (return custom_xxx) you want to fetch from the membership.

On the API explorer, try to set the return fields you want, and check you can include the custom fields you want