updated to new FOSRestBundle