[fix] Prevent circular references in the returned result.