CQM-153 Fixing cqosgi portability (json processing/output formatting)