Added return array and object fomr json file