Since write only supports string or buffer, thought it made since to prevent other payload types from being written