Getting json's data, deserialize to objects correctly