fix json parsing if no memory details