adding json_for_type of functiontype
using tree_function_decl_full in MELT