new rest service, object tree optimalization