Fix for duplicat field in Json serialisation.