Fix for GRAILS-10488: Do not explicitly convert logref to JSON