ENYO-3938: Gracefully handle/prevent circular reference errors when stringifying objects.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>