ARI: Fix crash if integer values used in JSON payload 'variables' object.