Cast option value to string when rendering. Fixes #226