How to use relationsDepth with findById:
var query = new Backendless.DataQuery();
query.options = {relationsDepth:2};
var resultCollection = Backendless.Persistence.of( Foo ).find( query );
var surveyData = Backendless.Persistence.of(Survey).findById(surveyId);