Added in JSON for clicking on units.

Note: ws send creates an error.