Finished A* properly and fixed some properties in json that should be array