Clean up

Adds a citation method on the witness object
fixes json responses
general clean up to make views more readable