DRY-ed all json.dump with little buisness value.

Even more drying, I'm dying.

 - Reduce human error with a helper function. Really no justification for the same copy-n-paste code.
 - Why are we making do math? 60 * 60 will always be the same.
### todo
 - A decorator (oursomething) should be created for all the BadRequest/NotFound as they all check for the same thing.
 - A lot of string are used w/ no runtime value. Give the lexer a break & create view constants. (eg."application/json")