Update utility plugin for new format, and update encoding part to work with python3