Removed dependency on non-standard json module