added support for cuts objects in addition to arrays