Used json.dumps() to successfully transmit data from Python to JQuery AJAX