Updated FoodResource model to refer to a FoodResourceType
Wrote serialize function for FoodResourceType model