This is used in every action, you might want to create a `JsonAction` that goes from request to JsValue