used array_uintersect in restify()