Separate linking of resources from rendering them to JSON.