Extract data from the chinook sample database, and transform it to JSON.