YAMLDatabase: Implement get_object()