support backward compatibility (json based getResult)