Remove unnecessary `json.dumps` from `tests.rest.admin`.