adding macro name and nargs metadata to notation elements