implemented g_dump - a better option to use than var_dump when creating an extension for genie