Fixed https://github.com/rpgmaker/NetJSON/issues/23

Fixed https://github.com/rpgmaker/NetJSON/issues/22

Signed-off-by: rpgmaker <olamide.bakre@gmail.com>