Add Json dependency injection in web interfaces

A lot of web requests don't require much more than a Json input from the client. Being able to inject it as a parameter to the handler makes it more convenient and cleaner to handle.