Trouble retrieving relational data objects

Hello,
I have a class which i am trying to get all data from and i have a relational field which just returns objects with just the id of that field, i would like to get all data in a row. is there like a Parse method that can let me get these data in a JSON format.

Could you share the code that you are using? Maybe we can help you on how to improve and it is easier to understand what you need.