Implemenedting parsing of the PROTOCOLS JSON array