[WIP] re-integrate friendsofsymfony/rest