Setter for the JSON entity.