changes so that we can parse swagger models from serializers