added json stringify to the global object