Added a string decoder