basic json routes working