freeGifts, generation number,generation master added

why did you hat to change the Json.reads & writes to the explicit way?