Fixes method result parser.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>