rename json protocol file
bugfix for cybin protocol to allow None in struct

when server returns struct, fields can be None
add tests with empty struct for binary protocols