obj -> arr