Replaced getProperties and json2Slides with a single function, getSlides