Added serializeJSON.
[enqueue] Added ability to convert an actual function into an enqueued function.
[enqueue] Added ability to reset queue.
Fixed certain cherry picking issues.