parsing json to get objects
added style and json fetch/parse