Removed console.log and fire callback immediately when object has no keys