Fixed bug with warResourceBase: when the specified value is java.io.File, JSONBuilder throws stack overflow exception.