feat(ngResource): serialize resouce before any request