Successful mysql connectio/query. Now, convert it to JSON and send back