dataLoader: json formatting, small bug fix