Added type method to MetaVar in macros. Added some macro methods to types.
Started to_json
Hierarchify function type inputs
Fixed: wrong check of typeof in initialize
Changed the way how generic argument types are typed (don't go to metaclass and then come back).