fixed issue #29, changed null check. added toString to string attribute serializer
updated dist