DIFFLET : JSON functionality ' this probably looks neater '