add 'compare' target to run jsondiff on all examples
fix broken type lookup