switched from json response to a dict for now...jsonify returns a string..don't understand why...