fetchPlan is not returning child IDs. Changed to a traverse strategy. After getting the results from OrientDB we replace foreign keys for embed child records