added serializer to scrape crud state variables