Implements some tools for JSON