Move the docs generator into the docgen profile, as it is not needed on normal builds.
Add support for JsonP