Initialize/free/set alloc_sid and alloc_node in API functions. Pack/unpack/free new elements in job descriptor RPCs.