To fix problem with transformation of form data to JSON object recognized by server