added relationships for model and eddited the json export