Revert "#14 - json code bug"

This reverts commit d9273f0de40551548ffc376490c4d4df9d38a414.