Update serializer.rst

Add composer requirement