Fixed justJSON method