add __str__ method to metadata model