Changed images json file array to hash with stats