Converts Garden model into a resource.