API documentation to return fields of type object correctly

I would like to recommend what I am calling advanced API documentation that will enable developers to return a field of type Object.

For example if you have two data types: DATA TYPE X and DATA TYPE Y, one can currently store an object say in field 1 in DATA TYPE X of of type DATA TYPE Y. This allows one to access any field in DATA TYPE Y when dealing with DATA TYPE X through search WITHIN Bubble environment.

The problem comes when dealing with APIs. Any field whose data type is of another custom data type is returned as text.

Without this capability, one is forced to create custom API workflows with nested search that makes something like a a complex native app to be a bit slow.

If its a bug let me know so that i can fill bug report.