Made json data function populate properly.
Made json data function populate properly.