Bug solved in JSON parser

Change-Id: I47b5bc2e405baa1baa94bf4a577d162f6e1e231c