Added a response parser so the program can deserialize reply messages into 'struct's.