libpromises/evalfunction.c: rename JsonPrimitiveAsString to JsonPrimitiveToString