s.dumps(data) was not being assigned to any variable