Separate json to some modules.
Add decoder test