Solving problem with no argument case of unmarshalling