It looks like you're rendering JSON then parsing it immediately, what's going on here?