nps_update_value and nps_get_value JSON functions