Serializes the jQuery objects