Working on JsonPrimitive Types - the test dumps the json string in a file - cannot handle complex elements as of now