log reference support for non string references
query was not serializable