Small refactors in json and in the randomizer
Added shatter