basic JSON API support (icinga Classic UI). Only for -ls and optional -v at the moment