[Stringify] Respect 'allProperties' when recursively calling Stringify

This can prevent infinite recursion if there is an object reference
cycle but one property doesn't have the JSONAttribute.