Fix the json schema and the extension processor for Parsoid extension modules
Trying to declare a Parsoid extension showed a couple of issues related
to the JSON specification (there was a possible confusion between both
object declarations) and in trying to declare an extension as a single
string. This patch fixes both these issues.
(cherry picked from commit f33637584665cd248aad7b93a32e61f3ad9944e3)