As I explained on gitter, you need to convert the byte[] to String, unless you set the property on the app itself (instead of setting it in a header) and use new String(headers([myHeader]) in the ...