moving de model to json