Fixing bug with using jsonpath in single curly brace syntax when embedded in a string