add dump method to ORDatabase