added number attribute serializer