Trying to create a model format for blocks based on json