New format for data. Updated helper for Python 2.