Treasure type H json and generator