Added newRow json functionality