Accomodate for cowboy_rest POST changes