My intuition tells me that you did something wrong in your types, if you want to convert an object to a tuple or vice versa. Try to redesign your code so that you either only use tuples or only use objects, but don't try to make mixing them up easy.
If you still want to make it easy to mix up tuple/objects yea macros will help you implement this.