Adding try-catch for problematic types in hydrate macros