Adding CsrfTokenSerializationListener which is responsible for adding a CSRF token to the serialized output of objects implementing the IdentifiableInterface
Updating the user ApiController::listAction() method to use the new serializer approach