fix: check types if actual json isn't comparable object