Remove deprecated method in json unmarshaller