Made C++ parser serialize the prototype in the same was as the JS parser, added test #62