deriving-eq all over ast
use node_id for indexing in ast_to_ty_cache
json bugfix
finish deriving_eq in ast
tidy