JSON ML reader with tests