Rename jsonapi handlers
Revert "Add db connection to a global variable"

This reverts commit ccdb1dc4a08c8ee17c6a9739dfadd8d945fc249b.