now returning a correct json string