Simple streaming json reader / writer