Create additional logging API which accepts maps/values for JSON encoding