Encode a bunch of the requirements in processObject