Models are now json compatibile