Simplified the logic of conversion of interface{} to byte array
Simplified the logic of conversion of interface{} to byte array

dbresson/nomad,frundh/nomad,nak3/nomad,achanda/nomad,xytis/nomad,martin416/nomad,kmalec/nomad,jorgemarey/nomad,martin416/nomad,hooklift/nomad,Ashald/nomad,mattyr/nomad,hashicorp/nomad,frundh/nomad,ranjib/nomad,mattyr/nomad,kmalec/nomad,Ashald/nomad,dvusboy/nomad,iverberk/nomad,achanda/nomad,kmalec/nomad,xytis/nomad,martin416/nomad,diptanu/nomad,barnardb/nomad,barnardb/nomad,achanda/nomad,diptanu/nomad,hashicorp/nomad,hashicorp/nomad,barnardb/nomad,hashicorp/nomad,xytis/nomad,burdandrei/nomad,dbresson/nomad,hooklift/nomad,mattyr/nomad,jorgemarey/nomad,mattyr/nomad,ranjib/nomad,burdandrei/nomad,hooklift/nomad,burdandrei/nomad,jorgemarey/nomad,diptanu/nomad,dbresson/nomad,barnardb/nomad,frundh/nomad,iverberk/nomad,jorgemarey/nomad,achanda/nomad,martin416/nomad,mattyr/nomad,ranjib/nomad,hooklift/nomad,dvusboy/nomad,achanda/nomad,nak3/nomad,diptanu/nomad,diptanu/nomad,dvusboy/nomad,ranjib/nomad,xytis/nomad,novilabs/nomad,iverberk/nomad,iverberk/nomad,nak3/nomad,ranjib/nomad,barnardb/nomad,mattyr/nomad,burdandrei/nomad,hooklift/nomad,burdandrei/nomad,frundh/nomad,dbresson/nomad,Ashald/nomad,frundh/nomad,frundh/nomad,ranjib/nomad,diptanu/nomad,xytis/nomad,dvusboy/nomad,ranjib/nomad,nak3/nomad,dvusboy/nomad,frundh/nomad,dbresson/nomad,novilabs/nomad,novilabs/nomad,martin416/nomad,nak3/nomad,Ashald/nomad,barnardb/nomad,kmalec/nomad,barnardb/nomad,kmalec/nomad,hashicorp/nomad,iverberk/nomad,xytis/nomad,novilabs/nomad,xytis/nomad,iverberk/nomad,diptanu/nomad,dbresson/nomad,dvusboy/nomad,nak3/nomad,dbresson/nomad,iverberk/nomad,nak3/nomad,hooklift/nomad,novilabs/nomad,novilabs/nomad,martin416/nomad,hooklift/nomad,Ashald/nomad,dvusboy/nomad,hashicorp/nomad,kmalec/nomad,jorgemarey/nomad,jorgemarey/nomad,achanda/nomad,burdandrei/nomad,mattyr/nomad,martin416/nomad,achanda/nomad,jorgemarey/nomad,burdandrei/nomad,kmalec/nomad,novilabs/nomad,Ashald/nomad,Ashald/nomad