Adding example of custom REST response-factory