change multiple prototype to a single one with JSON + change ActionList to array[idCharacter] = Array