Topological Sort - Restful Objects server