BHV-698: Guard against non-string objects.

DCO-1.1-Signed-Off-By: Kevin Schaaf <kevin.schaaf@lge.com>