Here is an article that will help you to understand better how to decode dynamic json (best practice)