Make options.data map to xhr's json param