objectToArray: function (obj, func) {