fixed composer.json syntax
refactored WordPress HTTP API wrappers