Extract json string parsing into a preivate method