changed places loader logic to use json