extracts standalone part of scalatra swagger