Modify mongo command to only get non-empty annotations