Logic to decompose JSON (problems present)
Completed Google define file