This reverts commit b0732bee96. Solution required PHP 7.0.7, thus breaking requirement of compatibility with PHP 5.4.
b0732bee96
Updated all API requests in DedimaniaPlugin to be serialized by this mechanism. Closes #139.