using the new decompose method in JsonHelper