add scalatra tests with embedded jetty and json serialization