code: public static String replaceDataReferencesInString(final String input, final Map<String, Map<String, String>> data) {
          return replaceDataReferencesInString(input, data, null, false);
      }
docs: Replace the embedded  properties of the form '${key.name}' in the input Strings with the value from the data
  context
  
  @param input input string
  @param data  data context map
  
  @return string with values substituted, or original string