Fixed reference to correct json variable (#51)