theoretically this fixes jsonfield for non-pg backends

This ensures compatibility with non-PG backends (useful for testing environments, local dev, etc, where sqlite might be used)