Generic model resources for Google Appengine