abject to array