changed parseMessageForPlacholder to accept either string or single level array of data to parse - avoids several places where we were looping over arrays and parsing each value