implode array separately from adding as string to log.
refresh extension entity before calling hooks on it.