json dump instead of jsonify as response is a list