Fix bug parsing json into user class