Sneaky var_dump.
Add viewId to view specific tickets, and also fix viewHeld and viewClosed.