check opts for pretty array format