Parse json file to get shapes