directly call the encoder for template aware encoders instead of going through the serializer (fixes issue in beta2)
directly call the encoder for template aware encoders instead of going through the serializer (fixes issue in beta2)

silverbackdan/FOSRestBundle,silverbackdan/FOSRestBundle