Getting rid of redundant log4j configuration call in jsonString test