Fixed json bug
Bug fixes 1.0.2