SEO fix

Fixed Yoast SEO integration; when UTF8 encoding an array, now the values
are type-checked first. Recursion occurs if value is an array itself,
preventing system to crash.