Fix for json property names (lowercase).
Re-generated with Json properties.
Move AnalysisMethod to correct class (wrapper!).

It's needed for all requests, not just those with params; so it couldn't
go where I'd put it originally!
Re-generated code with attributes in correct places.
Tidied up, and set method correctly on outbound requests.
Fix generation of method names.