code: @GET
      @Path("/{locale}")
      @Produces(MediaType.APPLICATION_JSON)
      public Response getTranslations(@PathParam("locale") String locale) {
          Map<String, String> messages = getMessages(locale);
          if (!messages.isEmpty()) {
  			return Response.ok(messages).build();
  		}
          return Response.ok("{}").build();
      }
docs: Returns a map of key, translation for the given locale.
  
  @param locale locale identifier
  @return status code 200 with all application messages or "{}" if no message