typescript override json stringify