Commented out datum_to_jsonb
unnecessary for demonstration of the error