Bug-fixing in extractVisualizations - broken

Worked on bug fixes with the hardcoded JSON data in
extractVisualizations method. Currently broken. Sorry.