API notify_watchers does not parse string values correctly