Fix badger command to return array value not key