slight tweaks to behavior of snapi module and sinatra extension