add __str__ for Component and EntityRecord, useful for debugging