Fixed Data bugs

->{} not ->[] for json_decode