null string attr serializer compat