Fixed mechnet code gen issue not correctly serializing paths