format arrays without panicking