A simple encoder/decoder for clicker heroes savegames