nested hashref serializable to the file