Add encodeLabels configure

Please, review and approval.
Thanks