An example for the use of FOSRestBundle.