Serializes args.
Assumes single object if the length of args == 1, otherwise array object.
the contents to serialize.
a serialized data.
See Implementation
Serializes args.
Assumes single object if the length of args == 1, otherwise array object.