small improvements for respond_with