Unmarshal the json correctly