Added logic for serialize/deserialize with textreader and textwriter

https://github.com/rpgmaker/NetJSON/issues/3