Fixed some more json reader bugs