Fix params extractor

Running tests with APIPIE_RECORD=params was failing when there was
already some documentation.
Merge pull request #92 from iNecas/fix-params-extractor

Fix params extractor