Fix filters in show_editable_model

Complex filters arguments are not interpreted correctly if filters is not a string.
This PR forces the filters argument to be a string.
Documentation is changed accordingly.
Warning added that content output by `show_editable_model` is always marked as safe.

Fix #2444