Bug due to unstringyfied input to JSON.parse fixed.