Added possibility to send entire JSON object via POST