make UnmarshalAsJSON use registered extensions if available