Fix SDK examples

Change-Id: I68099725c43adeab144d53737f60f778b3aebf73
(cherry picked from commit 6e714e618353b9eccf04efc15a5987ee10793309)
WaE: unused function 'isString'

Change-Id: I991cbf4a0203debaa98887d2db3fec9654dc1c5b
(cherry picked from commit 1b450cfd425a988157d5a7eff86091ba12bc10f4)
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>