readded json and switched value to node