Fixed NullPointerException with json reader - was reported by users through dev.google