configure response to status, message and model object