updated for ArangoDB 1.2