added a macro toString method which outputs field names for case classes