Add array buffer and string conversion assuming utf8 encoding.

Addressed in following commit.