Add JSON Controller.

Sends all DB entries as a JSON. Must resolve an issue with posting JSON
from the Desktop Client.