adds an initializer to serialize all models and allow edits to what is allowed