JSON logs will be written with .json extension: osgi-log.json
Checking for Map interface instance instead of HashMap