Added javascript serializer for expando objects.