Separated out creation of secret to makeSecret in lbconsole
Added json parsing of byte string in types.go