Change plugin format to arrays