strip contents of JSON in parser