Include URL in JSON serialization of a layer