Fix for the cowboy_rest template