Refactor targetunit json
KB - basic functionality

Add and remove items from KB as they are edited in the fields. Still
need to mark items in purple / remove the purple when the user
continues.