Add dehydrate method for MatchResource.
Add models and collections for rest resources.