Implement json equality operators