[matter.builder] use __str__ or __unicode__ instead of copy.deepcopy() when possible