[Server] Rewrite getOrders() using nestTables option