added basic json loading technique