update custom_output module to include example of casting non-str type