[Haskell-cafe] scotty + aeson + ffi: optimising performance