It turns out that when passing the raw sql as form data the newlines
were being lost, this ensures that they are preserved by passing a
json blob instead.
This also includes a new 'implicit_db' to the list of detected
databases as it can be that a query is using it.
Signed-off-by: David Caro <david@dcaro.es>