switched to and adapted for arango-client 1.0 branch