An early attempt at a tastypie api