Regarding the $all, I would prefer the solution you already described in your github repo:
To give you an idea how this works, you can fetch the data like this:
To be consistent if you type just
to show the data. If "name" is a field you get the data of the field, if its an object or an array you get all data with all fields.