[PATCH] fix mistake in utils.py related to testing JSON settings