fixed array to object