converted json_decode to object output

Used to be assoc array true