optimized json version
Merge pull request #33 from BrandyMint/aleksxor/json-current-optimized

optimized json version