Added serializer for the models