Support for object access on instantiation
Slightly refactor nested array_deref and object_inst_access correction
Put inline dereferencing as both if and else in ternary